package com.hs.pk.berth.service;

import com.hs.common.api.dto.ResultVo;
import com.hs.pk.berth.bean.Road;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hs.pk.berth.dto.BerthDto;
import com.hs.pk.berth.dto.FindBerthDto;

import java.util.List;

/**
 * <p>
 * 路段 服务类
 * </p>
 *
 * @author lhj
 * @since 2022-07-20
 */
public interface IRoadService extends IService<Road> {

    ResultVo findRoadByPage(Integer current, Integer size, FindBerthDto findBerthDto);

    List<Road> findRoadByStatus(Integer status);

    BerthDto searchBerthDtoByRoadName(String roadName);
}
